package com.xd.core.business.vo;

import com.alipay.api.domain.Amount;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xd.core.business.entity.Contract;
import com.xd.core.business.entity.IncomingCommonLoan;
import com.xd.core.business.entity.IncomingUrgentContact;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 放款表
 * </p>
 *
 * @author ZX
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OutInfoWindowVo implements Serializable {

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "贷款期限")
    private Integer term;

    @ApiModelProperty(value = "贷款期限")
    private Integer termUse;

    @ApiModelProperty(value = "还款频率（0--按天,1--按月,2--按周）")
    private String repayFrequency;

    @ApiModelProperty(value = "还款日")
    private String repayDay;

    @ApiModelProperty(value = "借款用途")
    private String used;

    @ApiModelProperty(value = "申请提现金额")
    private BigDecimal outLoan;

    @ApiModelProperty(value = "借款人收款姓名")
    private String receivingName;

    @ApiModelProperty(value = "借款人收款账户")
    private String receivingAccount;

    @ApiModelProperty(value = "借款人还款账户")
    private String repayAccount;

    @ApiModelProperty(value = "借款人开户银行")
    private String bank;

    @ApiModelProperty(value = "付款通道(1-通道一，2-通道二)")
    private String payPass;

    @ApiModelProperty(value = "付款账户")
    private String accountPayment;

    @ApiModelProperty(value = "年化率%")
    private BigDecimal rate;

    @ApiModelProperty(value = "借款开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date outStartTime;

    @ApiModelProperty(value = "借款结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date outEndTime;

    @ApiModelProperty(value = "最近一次还款日期")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date latestRepayDate;

}
